package com.actimize.service;


import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.ws.rs.GET;
import javax.ws.rs.Path;

import com.actimize.model.Transaction;

import java.util.List;

/**
 * Web Service interface so hierarchy of Generic Manager isn't carried through.
 */
@WebService
@Path("/trans")
public interface TransactionService {

    /**
     * Retrieves a list of all Transactions.
     *
     * @return List
     */
    @GET
    List<Transaction> getTrans();

}
